package com.totoro.rabbitmq.consumer;

import com.totoro.rabbitmq.RabbitMQConstant;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2017/9/18.
 */
//@Component
//@RabbitListener(queues = RabbitMQConstant.queue.QUEUE_ADD)
public class HelloListener {
//    private static final Logger logger = LoggerFactory.getLogger(HelloListener.class) ;
//
//    @RabbitHandler
//    public void process(@Payload String msg){
//        logger.info("hello queue get msg : {}", msg);
//    }
}
